package com.shk.dao;

import com.shk.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao  {

  long findCountByDate(String orderDate);

   void updateByDate(OrderSetting orderSetting);

   void add(OrderSetting orderSetting);

   List<Map> show(Map map);

   void setNumber(OrderSetting orderSetting);

   /*通过日期来查询ordersetting表是否有这条数据*/
    OrderSetting findOrderSettingByDate(Date orderDate);
    /*通过日期修改 已预约的人数*/
    void updateReservationsByOrderDate(OrderSetting orderSetting);

    void clearOrdersetting(Date date);
}
